package guru.springframework.services;

import guru.springframework.domain.Modulebase;

import java.util.List;

/**
 * Created by jt on 1/10/17.
 */
public interface ModuleBaseService {

    List<Modulebase> listAll();

    Modulebase getById(String id);

    Modulebase saveOrUpdate(Modulebase modulebase);

    void delete(String id);

    public List<Modulebase> getModulebases(int pageNum, int pageSize);

    void saveDataToSqllie();
}
